{extend name='admin@main'}
{block name="content"}
<div class="think-box-shadow">
    {include file='log/search_date'}

    {notempty name='$bankrupt_data'}
    <div class="layui-row layui-col-space14">
        <div class="layui-col-xs6">
            <div class="margin-bottom-15">破产统计(1天)</div>
            <div class="layui-row layui-col-space14">
                <table class="layui-table margin-top-10" lay-skin="line">
                    <thead>
                    <tr>
                        <th class='text-left'>破产人数</th>
                        <th class='text-left'>破产总次数</th>
                        <th class='text-left'>平均破产次数</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>
                            {$bankrupt_data.all.number|default=0}
                        </td>
                        <td>
                            {$bankrupt_data.all.times|default=0}
                        </td>
                        <td>
                            {$bankrupt_data.all.avg_times|default=0}
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>

        </div>
        <div class="layui-col-xs6">
            <div class="margin-bottom-15">充值玩家破产统计(1天)</div>
            <div class="layui-row layui-col-space14">
                <table class="layui-table margin-top-10" lay-skin="line">
                    <thead>
                    <tr>
                        <th class='text-left'>破产人数</th>
                        <th class='text-left'>破产总次数</th>
                        <th class='text-left'>平均破产次数</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>
                            {$bankrupt_data.pay.number|default=0}
                        </td>
                        <td>
                            {$bankrupt_data.pay.times|default=0}
                        </td>
                        <td>
                            {$bankrupt_data.pay.avg_times|default=0}
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    {else/}
    <span class="notdata">没有记录哦</span>
    {/notempty}

</div>
{/block}
